<div ng-controller="gSearchCtrl">
  <div class="g-search">
    <div class="gs-i-box">
        <input type="text" class="gs-input" ng-model="searchParams.keyWords" value="" placeholder="{{searchParams.placeholder}}" style="width:5rem;margin-right:0.1rem;">
        <a href="javascript:;" class="btn-do-search" ng-click="doSearch();">搜索</a>
    </div>
  </div>
  <div class="search-cat">
    <h1>在分类中搜索</h1>
    <ul class="clearfix">
      <li><a href="javascript:;" ng-class="{cur: searchParams.type === '66'}" ng-click="changeSearchType('66', '外贸资讯');">外贸资讯</a></li>
      <li><a href="javascript:;" ng-class="{cur: searchParams.type === '15'}" ng-click="changeSearchType('15', '外贸预警');">外贸预警</a></li>
      <li><a href="javascript:;" ng-class="{cur: searchParams.type === 'hz'}" ng-click="changeSearchType('hz', '会展服务');">会展服务</a></li>
      <!-- <li><a href="javascript:;" ng-class="{cur: searchParams.type === 'px'}" ng-click="changeSearchType('px', '外贸培训');">外贸培训</a></li> -->
    </ul>
  </div>

  <div class="list-box">
    <div class="list-loading" ng-show="warningData.loading"></div>
    <ul class="n-list">
      <li class="clearfix" ng-repeat="i in searchRsLists">
        <a ui-sref="g.detail({id: i.id})" class="clearfix i-block">
          <h2 ng-bind="i.title" class="n-list-title text-overflow-2"></h2>
          <img ng-src="{{i.thumbnail}}" ng-if="i.thumbnail" class="n-list-big-thumbnail">
          <p ng-bind="i.time" class="n-list-time"></p>
        </a>
      </li>
    </ul>
  </div>
</div>
